package com.melody.model.vo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
/**
 * @Author: hq
 * @Description: 搜索歌单信息返回类
 * @DateTime: 2025-05-12 10:43
 **/
@TableName("playlist_info")
@Data
public class PlaylistSearchVo {
    @TableId
    private Long listId;
    private String listName;
    private String musicDescribe;
    private String coverImage;
    private Long labelId;
    private String type;
    private Integer collectionVolume;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private Integer isDelete;

    // 构造函数
    public PlaylistSearchVo(Long listId, String listName, String musicDescribe, String coverImage,
                            Long labelId, String type, Integer collectionVolume, LocalDateTime createTime,
                            LocalDateTime updateTime, Integer isDelete) {
        this.listId = listId;
        this.listName = listName;
        this.musicDescribe = musicDescribe;
        this.coverImage = coverImage;
        this.labelId = labelId;
        this.type = type;
        this.collectionVolume = collectionVolume;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.isDelete = isDelete;
    }
}
